<a name="order"></a>

<div class="form" style="margin-top: 20px">
    <?php
    $form = $this->beginWidget('CActiveForm', array(
        'id' => 'orders-form',
        'enableAjaxValidation' => false,
        'enableClientValidation' => true,
        'clientOptions' => array(
            'validateOnSubmit' => true,
            'hideErrorMessage' => true,
        ),
            ));
    ?>



    <div style="background: none repeat scroll 0 0 #EBE9EA;
         border-left: 4px solid #CACACA; color: #29588C; font: bold 13px Tahoma;
         padding: 4px 10px">THÔNG TIN NGƯỜI ĐẶT HÀNG</div>

        <?php echo $form->errorSummary($model); ?>

    <div class="row">
        <?php echo $form->labelEx($model, 'fullname'); ?>
        <?php echo $form->textField($model, 'fullname', array('size' => 25)); ?>
        <?php echo $form->error($model, 'fullname'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model, 'phone'); ?>
        <?php echo $form->textField($model, 'phone', array('size' => 25)); ?>
        <?php echo $form->error($model, 'phone'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model, 'address'); ?>
        <?php echo $form->textField($model, 'address', array('size' => 45)); ?>
        <?php echo $form->error($model, 'address'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model, 'email'); ?>
        <?php echo $form->textField($model, 'email', array('size' => 25)); ?>
        <?php echo $form->error($model, 'email'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model, 'note'); ?>
        <?php echo $form->textArea($model, 'note', array('style' => 'width: 450px; height: 110px')); ?>
        <?php echo $form->error($model, 'note'); ?>
    </div>

    <div class="row">
    <?php echo CHtml::submitButton('Đặt hàng', array('style' => 'margin-left: 5px')); ?>        
    </div>

<?php $this->endWidget(); ?>

</div><!-- form -->